About 2365 letters

About 12 minutes

#HTML <object>

The <object> HTML element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.

#Attributes

  • archive Deprecated : A space-separated list of URIs for archives of resources for the object.
  • border Deprecated : The width of a border around the control, in pixels.
  • classid Deprecated : The URI of the object's implementation. It can be used together with, or in place of, the data attribute.
  • codebase Deprecated : The base path used to resolve relative URIs specified by classid, data, or archive. If not specified, the default is the base URI of the current document.
  • codetype Deprecated : The content type of the data specified by classid.
  • data: The address of the resource as a valid URL. At least one of data and type must be defined.
  • declare Deprecated : The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent <object> element. Repeat the <object> element completely each time the resource is reused.
  • form: The form element, if any, that the object element is associated with (its form owner). The value of the attribute must be an ID of a <form> element in the same document.
  • height: The height of the displayed resource, as in <integer> in CSS pixels.
  • name: The name of valid browsing context (HTML5), or the name of the control (HTML 4).
  • standby Deprecated : A message that the browser can show while loading the object's implementation and data.
  • type: The content type of the resource specified by data. At least one of data and type must be defined.
  • usemap Deprecated : A hash-name reference to a <map> element; that is a '#' followed by the value of a name of a map element.
  • width: The width of the display resource, as in <integer> in CSS pixels.

Created in 6/9/2025

Updated in 6/9/2025